//
//  FirstViewPullToGetMoreDataCell.h
//  WEIMO
//
//  Created by Lixiaoyong on 13-7-2.
//  Copyright (c) 2013年 广州从兴电子开发有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@class FirstViewPullToGetMoreDataCell;

@protocol FirstViewPullToGetMoreDataCellDelegate <NSObject>

- (void)clickedButtonToGetMoreData:(FirstViewPullToGetMoreDataCell *)cutomCell;

@end

@interface FirstViewPullToGetMoreDataCell : UITableViewCell

@property (nonatomic,retain) UIButton *getMoreDataButton;

@property (nonatomic,retain) UIActivityIndicatorView *indicatorView;

@property (nonatomic,assign) id<FirstViewPullToGetMoreDataCellDelegate> delegate;

//恢复初始状态
- (void)restoreInitialState;

//刷新数据
//flag:YES--有数据   NO--没有数据了
- (void)stopAnimationOfIndicatorView:(BOOL)flag;

@end